home *** CD-ROM | disk | FTP | other *** search
- # DESCRIPTION:
- # --------------------------------------------------------------
- #
- # Open CDXA, Test Volume, Close
- #
- # NOTE: Each hardware setup may respond with different
- # values for each setting. This is due to CPU speed,
- # bus speed, and drive speeds.
- #
- # --------------------------------------------------------------
- @BREAK A CDXA WILL NEED TO BE IN THE DEFAULT CD-ROM DRIVE
-
- defaultconnection cdxa make type xa stream to ampmix totype amp stream notify
- +MM_MCINOTIFY MCI_NOTIFY_SUCCESSFUL MCI_DEFAULT_CONNECTION #1
- @WAIT_NOTIFY 1 30000
-
- open cdxa alias cdxa_1 notify
- +MM_MCINOTIFY MCI_NOTIFY_SUCCESSFUL MCI_OPEN #2
- @WAIT_NOTIFY 2 30000
-
- acquire cdxa_1
- @WAIT_PASSDEVICE cdxa_1 10000
-
- set cdxa_1 audio volume 100 wait
- status cdxa_1 volume wait
- =100:100
-
- set cdxa_1 audio volume 75 wait
- status cdxa_1 volume wait
- =~75:~75
-
- set cdxa_1 audio volume 50 wait
- status cdxa_1 volume wait
- =~50:~50
-
- set cdxa_1 audio volume 25 wait
- status cdxa_1 volume wait
- =~25:~25
-
- set cdxa_1 audio volume 0 wait
- status cdxa_1 volume wait
- =0:0
-
- set cdxa_1 audio volume 100 wait
- status cdxa_1 volume wait
- =100:100
-
- close cdxa_1 notify
- +MM_MCINOTIFY MCI_NOTIFY_SUCCESSFUL MCI_CLOSE #3
- @WAIT_NOTIFY 3 30000
-